

import { Selection, TableSelection, Index, TableIndex, Operation, TableOperation } from "@admin/entity/base/interface"
import PaginationTable from "@admin/entity/base/PaginationTable"
import { TableColumn } from "~/utils/types"
import Dict from "./Dict"
export default class DictTable extends PaginationTable<Dict> implements Selection<Dict>, Index, Operation {
    operation: TableOperation = {
        label: '操作',
        width: 100
    }
    index: TableIndex = {
        width: 60,
        label: '序号'
    }
    selection: TableSelection = {}
    selectedData: Dict[] = []
    columns: TableColumn<Dict>[] = [
		{
            prop: 'dictName',
            label: '字典名称'
        },
		{
            prop: 'dictType',
            label: '字典类型'
        },
		{
            prop: 'status',
            label: '状态'
        },
		{
            prop: 'remark',
            label: '备注'
        },
	]
}